﻿@using System.Threading.Tasks
@using Abp.Application.Services.Dto
@using Abp.Extensions
@using Abp.Timing;
@using Magicodes.WeChat.Web.Mvc.Models.WeChatCustomMenuSetting
    @using Magicodes.Admin.Web.Areas.Admin.Startup
    @using Magicodes.WeChat.Web.Mvc
    @model WeChatCustomMenuSettingViewModel
        @{
            ViewBag.CurrentPageName = WeChatPageNames.Common.Roots_WeChatCustomMenuSetting;
        }
        @section Scripts
{
            <environment names="Development">
                <script src="@ContentRootUrl/view-resources/Views/WeChatApiSetting/Index.js" asp-append-version="true"></script>
            </environment>

            <environment names="Staging,Production">
                <script src="@ContentRootUrl/view-resources/Views/WeChatApiSetting/Index.min.js" asp-append-version="true"></script>
            </environment>
        }
        <div class="row margin-bottom-5">
            <div class="col-xs-6">
                <div class="page-head">
                    <div class="page-title">
                        <h1>
                            <span>@L("WeChatCustomMenuSetting")</span> <small>@L("SettingsHeaderInfo")</small>
                        </h1>
                    </div>
                </div>
            </div>
            <div class="col-xs-6 text-right">
                <button id="SaveAllSettingsButton" class="btn btn-primary blue"><i class="fa fa-floppy-o"></i> @L("SaveAll")</button>
            </div>
        </div>
        <div class="portlet light margin-bottom-0">
            <div class="portlet-body">

                <div id="SettingsTabPanel" class="tabbable-line">
                    <ul class="nav nav-tabs ">
                        <li>
                            <a href="#WeChatCustomMenuSettingTab" data-toggle="tab" aria-expanded="false">
                                @L("WeChatCustomMenuSetting")
                            </a>
                        </li>
                    </ul>

                    <div class="tab-content">
                        <div class="tab-pane active" id="WeChatCustomMenuSettingTab">
                            <form id="WeChatCustomMenuSettingForm">
                                <div class="form-group form-md-line-input form-md-floating-label no-hint">
                                    <textarea name="MenuInfo" class="form-control edited">@Model.MenuInfo
</textarea>
                                    <label>@L("MenuInfo")</label>
                                </div>
                            </form>
                        </div>
                    </div>

                </div>

            </div>
        </div>
